
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="guide">
	<tr>
		<td>
			<span style="float: left;">后台管理中心&nbsp;&raquo;&nbsp;推荐视频</span>
			<span style="float: right;">
				<a href="javascript:history.go(-1);">&lt;- 返回</a>
			</span>
		</td>
	</tr>
</table>

<form action="./?controller=recommendsee&action=doedit" method="post">
<input type="hidden" name="id" value="<?php echo $this->data['id'];?>" />
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="tableborder">
	<tr>
		<td class="altbg1">标题</td>
		<td class="altbg2">
			<input class="input" name="title" value="<?php echo $this->data['title'];?>" />
		</td>
	</tr>
	<tr>
		<td class="altbg1">类型</td>
		<td class="altbg2">
			<select name="type">
<?php 
foreach ($this->type_data as $v){
    $selected = (int)$this->data['type'] == $v['id'] ? 'selected' : '';
    echo '<option '.$selected.' value="'.$v['id'].'">'.$v['title'].'</option>';
}
?>
			</select>
		</td>
	</tr>
	<tr>
		<td class="altbg1">描述</td>
		<td class="altbg2">
			<textarea name="remark"><?php echo $this->data['remark'];?></textarea>
		</td>
	</tr>
	<tr>
		<td class="altbg1">icon</td>
		<td class="altbg2">
			<input class="input" name="icon" value="<?php echo $this->data['icon'];?>" />
		</td>
	</tr>
	<tr>
		<td class="altbg1" colspan=2 align="center">
			<input class="button" type="submit" value="确定" />
			&nbsp;
			<input class="button" type="reset" value="重置" />
		</td>
	</tr>
</table>
</form>
